#include <cstdio>    // 1
#include <cstdlib>   // 1
#include <iostream>  // 2
#include "config.h"  // 3

// ------------------------
#ifdef USE_MYFUNC
#include "func.h"
#endif

int main(int argc, char* argv[]) {
  // 1
  printf("recv argument: %d\n", argc);
  int number = atoi(argv[1]);

  // 3
  std::cout << "version: " << PROJECT_VERSION << std::endl;

#ifdef USE_MYFUNC
  printf("lib func: %d * %d = %d\r\n", number, number, my_square(number));
#endif

  return 0;
}
